<?php

namespace app\admin\model;

use think\Model;
use think\model\concern\SoftDelete;

/**
 * Goods
 * @controllerUrl 'goodsAttr'
 * @property int $stock
 * @property string key
 */
class GoodsAttr extends Model
{
    use SoftDelete;

    // 表名
    protected $name = 'goods_attr';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
}